﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UserControls_UserMenu : System.Web.UI.UserControl
{    
    protected void Page_Load(object sender, EventArgs e)
    {
        if (SessionCache.CurrentUser.GroupID == ConfigReader.IndividualUserGroupID)
            divIndividual.Visible = true;
        else if (SessionCache.CurrentUser.GroupID == ConfigReader.SiteAdminUserGroupID)
            divAdministrator.Visible = true;
        else
            divDevelopersMenu.Visible = true;
    }
}